from . import preferences, update, render_item
from .. import ui, ops, test

mod_tuple = (
    # 单个文件 .py
    render_item,
    preferences,

    # 模块 preferences.py
    ui,
    ops,
    test,

    update,
)


def register():
    for mod in mod_tuple:
        mod.register()


def unregister():
    for mod in mod_tuple[::-1]:
        mod.unregister()
